#pragma once

enum
{
	FALSE,TRUE
};
#include <stdio.h>
#include <conio.h>

#define MAXSIZE 50
#define QueueElementType char

typedef struct
{
	QueueElementType element[MAXSIZE];
	int front;
	int rear;
}SeqQueue;

void InitQueue(SeqQueue *Q);

int EnterQueue(SeqQueue *Q, QueueElementType x);

int IsEmpty(SeqQueue* Q);

int DeleQueue(SeqQueue* Q, QueueElementType* x);